package org.example.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.example.system.entity.AttendanceEntity;

/**
 * 考勤服务接口
 */
public interface AttendanceService {
    /**
     * 添加考勤
     *
     * @param attendance
     * @return
     */
    int add(AttendanceEntity attendance);

    /**
     * 按条件分页查询
     *
     * @param attendance
     * @return
     */
    IPage<AttendanceEntity> selectPage(AttendanceEntity attendance);
}
